package com.ibeeking.found.cop.service.common.dos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @ClassName  DataTalkFriendsPermitDO
 * @Description 会话内容存档开启成员列表
 * @Author ibeeking
 * @Date 2021-01-15 10:44
 **/
@Data
@TableName("data_talk_friends_permit")
public class DataTalkFriendsPermitDO implements Serializable {
    private static final long serialVersionUID = -1L;

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 1表示办公版；2表示服务版；3表示企业版
     */
    @TableField(value = "type")
    private Integer type;
    /**
     * 开启会话内容存档的客户id
     */
    @TableField(value = "friends_id")
    private Long friendsId;

    /**
     * 开启会话内容存档的客户code
     */
    @TableField(value = "friends_code")
    private String friendsCode;
    /**
     * 创建时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;
}
